package cate.game.notice;

import cate.game.chat.ChatContentParam;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@ToString
@Data
public class NoticeParam {
    private int id;
    private List<ChatContentParam> params;

    public static NoticeParam of(int id, List<ChatContentParam> params) {
        NoticeParam param = new NoticeParam();
        param.setId(id);
        param.setParams(params);
        return param;
    }
}
